﻿using System.Web.Security;
using iss.sg4210.se18.team6s.jass.DAL;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace iss.sg4210.se18.team6s.Models
{
    public class RespondModel
    {
        [DisplayName("Advertisement Name")]
        public string AdvertisementName { get; set; }

        [Required]
        public string Name
        {
            set;
            get;
        }

        [Required]
        [DataType(DataType.EmailAddress)]
        public string Email
        {
            set;
            get;
        }

        public string Address
        {
            set;
            get;
        }

        public int Telephone
        {
            set;
            get;
        }

        [Required]
        public string Resume
        {
            set;
            get;
        }
    }
}